package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ManagerDepartment;
import com.woniuxy.common.entity.ManagerDepartmentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ManagerDepartmentMapper {
    long countByExample(ManagerDepartmentExample example);

    int deleteByExample(ManagerDepartmentExample example);

    int deleteByPrimaryKey(String depId);

    int insert(ManagerDepartment record);

    int insertSelective(ManagerDepartment record);

    List<ManagerDepartment> selectByExample(ManagerDepartmentExample example);

    ManagerDepartment selectByPrimaryKey(String depId);

    int updateByExampleSelective(@Param("record") ManagerDepartment record, @Param("example") ManagerDepartmentExample example);

    int updateByExample(@Param("record") ManagerDepartment record, @Param("example") ManagerDepartmentExample example);

    int updateByPrimaryKeySelective(ManagerDepartment record);

    int updateByPrimaryKey(ManagerDepartment record);
}